/*
 * Creation : 17/09/2013
 */
package com.japcatalog.dao;

import java.util.Collection;

import com.japcatalog.model.Trademark;

/**
 * The Interface TrademarkDao.
 */
public interface TrademarkDao {

	/**
	 * Find all.
	 * 
	 * @return the collection
	 */
	public Collection<Trademark> findAll();

	/**
	 * Find by id.
	 * 
	 * @param id
	 *            the id
	 * @return the trademark
	 */
	public Trademark findById(Long id);

	/**
	 * Creates the.
	 * 
	 * @param trademark
	 *            the trademark
	 * @return the long
	 */
	public Long create(Trademark trademark);

	/**
	 * Update.
	 * 
	 * @param trademark
	 *            the trademark
	 */
	public void update(Trademark trademark);

	/**
	 * Delete.
	 * 
	 * @param trademark
	 *            the trademark
	 */
	public void delete(Trademark trademark);

	/**
	 * Delete.
	 * 
	 * @param id
	 *            the id
	 */
	public void delete(Long id);

}
